home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr53
/
pctv4n_1.zip
/
REQUEST.H
< prev
next >
Wrap
Text File
|
1993-06-10
|
982b
|
39 lines
/**************************************************
* FILE NAME: request.h TITLE: SQL request
*
* AUTHOR: Ken North Resource Group, Inc.
* 2604B El Camino Real, #351
* copyright(c)1992 Carlsbad, CA 92008
****************************************************
* SYNOPSIS:
* information maintained per statement (request)
***************************************************/
#ifndef __REQUEST_H
#define __REQUEST_H
typedef struct SQLRequest
{
int Status;
char Statement[MAXSQL];
char far *stptr;
HSTMT hstmt;
HCUR CursorID;
/* exceeds max stmt. length for this driver */
BOOL ExceedsMax;
char CursorName[31]; /* for named cursors */
} * REQUEST;
/* function prototypes */
HSTMT AllocateStatement();
POINTER BuildRequest( REQUEST );
HSTMT ExecuteStatement( POINTER, CONNECTION );
int FindNumberOfColumns(HSTMT);
HCUR GetCursorforRequest(HDBC);
int TerminateStatement(HSTMT);
#endif